Skip to content

[pull] master from stas00:master#148

Merged
pull[bot] merged 1 commit intodumpmemory:masterfrom
stas00:master
Jan 14, 2025
Merged

[pull] master from stas00:master#148
pull[bot] merged 1 commit intodumpmemory:masterfrom
stas00:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Jan 14, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

* delete useless code to avoid fp8e4m3 benchmark error

To solve the bug:

```shell
Traceback (most recent call last):
  File "/home/xingzai/mamf-finder.py", line 353, in <module>
    _ = benchmark_mm(m[0], n[0], k[0], dtype, device, args.num_iterations, args.num_warmup_iterations)
  File "/home/xingzai/mamf-finder.py", line 255, in benchmark_mm
    times = time_iterations()[num_warmup_iterations:]
  File "/home/xingzai/mamf-finder.py", line 216, in func_wrapper
    C.copy_(C_rand)  # re-randomize the target matrix
AttributeError: 'tuple' object has no attribute 'copy_'
```

* Update mamf-finder.py

* Update mamf-finder.py

* upd

* Update mamf-finder.py

* - support fp8 on amd
- simplify version check
- remove hardcoded dtype

---------

Co-authored-by: Stas Bekman <stas@stason.org>
@pull pull bot added the ⤵️ pull label Jan 14, 2025
@pull pull bot merged commit b068e4d into dumpmemory:master Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant